#include <iostream>

using namespace std;

//数据类型存在意义:给变量分配合适的内存空间

//整型:用于表示整数
int main() {
    short s = 10;//短整型，取值范围-2^15~2^15-1(-32768~32767)
    cout << s << endl;
    int i = 10;//整型，取值范围-2^31~2^31-1
    cout << i << endl;
    long l = 10;//长整型，取值范围-2^31~2^31-1
    cout << l << endl;
    long long ll = 10;//长长整型，取值范围-2^63~2^63-1
    cout << ll << endl;
    return 0;
}
